/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package managedBeans.util;


/**
 *
 * @author David
 */
public class NodeToView {
    private static NodeToView instance;
    private int id;
    private String content;

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param aId the id to set
     */
    public void setId(int aId) {
        id = aId;
    }
    
    
    private NodeToView() {}
    public static synchronized NodeToView getInstance() {
        if(instance == null) {
            instance = new NodeToView();
        }
        return instance;
    }

    /**
     * @return the content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content the content to set
     */
    public void setContent(String content) {
        this.content = content;
    }
    
    
}
